package com.hcb.tonguetiphealth.view;

import android.os.Bundle;

import com.hcb.tonguetiphealth.manager.Exit;
import com.hcb.tonguetiphealth.util.MessageWhat;
import com.hcb.tonguetiphealth.widget.citywide.CityWideWidget;

public class CityWideActivity extends AbstractActivity {
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      
      setContentView(new CityWideWidget(this));
      
      Exit.add(this);
  }
  
	@Override
	public void onBackPressed() {
		finish();
	}

	@Override
	protected void onDestroy() {
		// TODO Auto-generated method stub
		if(mHandler != null) {
			mHandler.sendEmptyMessage(MessageWhat.CANCEL_TIMER);
		}
		super.onDestroy();
	}

}